import { createRouter, createWebHashHistory } from 'vue-router'

import { constroute } from './routes'

let router = createRouter({
    //默认hashno
    history: createWebHashHistory(),
    routes: constroute,
    scrollBehavior() {
        return {
            left: 0,
            top: 0
        }
    }
})


export default router;